package com.zhixin.fans.ks.ui.base;

import com.zhixin.fans.ks.CoupleApp;
import com.zhixin.fans.ks.dagger.components.CoupleAppComponent;

import org.eenie.common.base.BaseApp;
import org.eenie.common.base.BaseFragment;
import org.eenie.common.dagger.components.AppComponent;


public abstract class BaseDaggerFragment extends BaseFragment {
    public BaseDaggerFragment(String title) {
        super(title);
    }

    public AppComponent getApplicationComponent() {
        return ((BaseApp) getActivity().getApplication()).getApplicationComponent();
    }


    public CoupleAppComponent getCoupleAppComponent() {
        return ((CoupleApp) getActivity().getApplication()).getCoupleAppComponent();
    }






}
